import 'package:json_annotation/json_annotation.dart';

part 'tappay_prime.g.dart';

@JsonSerializable()
class TappayPrime {
  @JsonKey(name: 'success')
  bool success;

  @JsonKey(name: 'message')
  String? message;

  @JsonKey(name: 'prime')
  String? prime;

  @JsonKey(name: 'status')
  int? status;

  TappayPrime({
    required this.success,
    this.message,
    this.prime,
    this.status,
  });

  factory TappayPrime.fromJson(Map<String, dynamic> json) => _$TappayPrimeFromJson(json);

  Map<String, dynamic> toJson() => _$TappayPrimeToJson(this);
}